package com.newway.wechat.entity.sign;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("sign_record")
public class SignRecordEntity implements Serializable {

    @TableId
    private Long id;

    //签到表id
    private Long signId;

    //签到人id
    private String signUserId;

    //签到人名称
    private String signUserName;

    //签到时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime signTime;

    //签到详情
    private String signDetails;
}
